<%@page contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<form id="kqPay" name="kqPay" action="${serverUrl }" method="post">
	<c:forEach items="${submitData }" var="item">
		<input name="${item.key }"  type="hidden" value="${item.value}" />
	</c:forEach>
</form>
<c:choose>
	<c:when test="${fn:length(submitData.tradeDescription)> 95}">
		<script>
			//这种情况不会出现
			alert("由于需要支付的订单过多，请到会员中心单个支付");
			window.location = "pzapp:temple=vipCenter_order_pay";
		</script>
	</c:when>
	<c:otherwise>
		<script>
			document.getElementById('kqPay').submit();
		</script>
	</c:otherwise>
</c:choose>